package com.cskaoyan.mapper;

import com.cskaoyan.bean.po.MarketPermissionInfo;
import com.cskaoyan.bean.po.MarketPermissionInfoExample;
import com.cskaoyan.bean.vo.back.AdminRoleSystemPermissionsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MarketPermissionInfoMapper {
    long countByExample(MarketPermissionInfoExample example);

    int deleteByExample(MarketPermissionInfoExample example);

    int insert(MarketPermissionInfo row);

    int insertSelective(MarketPermissionInfo row);

    List<MarketPermissionInfo> selectByExample(MarketPermissionInfoExample example);

    int updateByExampleSelective(@Param("row") MarketPermissionInfo row, @Param("example") MarketPermissionInfoExample example);

    int updateByExample(@Param("row") MarketPermissionInfo row, @Param("example") MarketPermissionInfoExample example);

    List<AdminRoleSystemPermissionsVo> selectPermissionsByRealation();
}